|
|
<DIV id=list>
* k+ x7 c k% M<DIV id=lrc1 style="COLOR: #666666">[wmv=0] http://lzbj.ncedu.net.cn/uploadfile/20083923248279.mp3[/wmv] </DIV>- X/ d, F, P! O( U1 Z4 A0 i
<DIV style="COLOR: #666666">|等一分钟|听到这首歌,觉得它很动听,旋律很优美,很是喜欢,传上来给大家听听。</DIV>
' k) |$ S* K# C4 Q<DIV id=lrc2 style="COLOR: #666666">词曲唱:徐誉滕</DIV>
+ h$ Q8 l# Y% P<DIV id=lrc3 style="COLOR: #666666"></DIV>
0 j2 i- D0 G. L4 w4 V$ q<DIV id=lrc5 style="COLOR: #666666">如果时间 </DIV>4 y5 A' f! J( {, b
<DIV id=lrc6 style="COLOR: #666666">忘记了转 </DIV>
2 v) @' P+ ]0 c) T5 S6 R* }( e<DIV id=lrc7 style="COLOR: #666666">忘了带走什么 </DIV>
, d: C* H1 K- U- f9 u% E. @* ] E<DIV id=lrc8 style="COLOR: #666666">你会不会 </DIV>! {; q9 z; W+ V( p( b2 m _9 v
<DIV id=lrc9 style="COLOR: #666666">至今停在说爱我的那天 </DIV>
- L8 t. X4 y4 N- r8 Q! Q<DIV id=lrc10 style="COLOR: #666666">然后在世界的一个角 </DIV>
: Y& D. ~6 j, {9 c. s<DIV id=lrc11 style="COLOR: #666666">有了一个我们的家 </DIV>
5 W* l2 S; X3 }# G! H1 a# h<DIV id=lrc12 style="COLOR: #666666">你说我的胸膛会让你感到暖 </DIV>/ q6 \8 _7 c, ?- i
<DIV id=lrc13 style="COLOR: #666666">如果生命 </DIV>7 y9 p2 h4 i# L# r
<DIV id=lrc14 style="COLOR: #666666">没有遗憾 </DIV>
; n! G. J+ |6 T! c; [<DIV id=lrc15 style="COLOR: #666666">没有波澜 </DIV>7 y5 p0 a/ q7 C
<DIV id=lrc16 style="COLOR: #666666">你会不会 </DIV>
3 n" E9 U8 Z0 R* z9 f9 J<DIV id=lrc17 style="COLOR: #666666">永远没有说再见的一天 </DIV>
f. }/ X$ _2 R7 e k% H6 U* u<DIV id=lrc18 style="COLOR: #666666">可能年少的心太柔软 </DIV>
! L H! x. @8 ^<DIV id=lrc19 style="COLOR: #666666">经不起风经不起浪 </DIV>
, a! R. }! z2 n/ p9 T7 C" A: Z<DIV id=lrc20 style="COLOR: #666666">若今天的我能回到昨天 </DIV>) ^* U+ G% h. j$ I7 e1 Z& a! Y( h5 ~
<DIV id=lrc21 style="COLOR: #666666">我会向自己妥协 </DIV>- j `9 ?/ G; ], h8 [
<DIV id=lrc22 style="COLOR: #666666">我在等一分钟 </DIV>- O: U# f6 U7 U1 I
<DIV id=lrc23 style="COLOR: #666666">或许下一分钟 </DIV>* Y. H5 m& ]: E8 e7 _, o
<DIV id=lrc24 style="COLOR: #666666">看到你闪躲的眼 </DIV>
. D" V6 P9 ^& d4 G6 |! U* p) I<DIV id=lrc25 style="COLOR: #ff3300">我不会让伤心的泪挂满你的脸 </DIV>) `7 v- g/ B+ @6 b0 r! t n( r0 V
<DIV id=lrc26 style="COLOR: #000000">我在等一分钟 </DIV>- X; u# l) j9 |, z4 @. ]
<DIV id=lrc27 style="COLOR: #000000">或许下一分钟 </DIV>
; X& ]# ~" ^# u<DIV id=lrc28 style="COLOR: #000000">能够感觉你也心痛 </DIV>
: m( f' {4 ]! X! _0 k<DIV id=lrc29 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>
2 R: l$ Q% Y& s) ]<DIV id=lrc30 style="COLOR: #000000">如果生命 </DIV>& F# h# c/ d1 v& _8 O8 x1 j& P1 ]
<DIV id=lrc31 style="COLOR: #000000">没有遗憾 </DIV>
, h. `5 b0 }4 W: h<DIV id=lrc32 style="COLOR: #000000">没有波澜 </DIV>
3 x2 x$ J* Z& I' }! l<DIV id=lrc33 style="COLOR: #000000">你会不会 </DIV>) Q' n9 x# e9 X' ^- ~
<DIV id=lrc34 style="COLOR: #000000">永远没有说再见的一天 </DIV>6 |4 m [% {; O$ I- ]+ x5 Y
<DIV id=lrc35 style="COLOR: #000000">可能年少的心太柔软 </DIV>) ?) Y3 p! C$ Q$ d! z9 h5 c$ l9 U
<DIV id=lrc36 style="COLOR: #000000">经不起风经不起浪 </DIV>
3 k( n( g+ u; V' F0 }8 U$ R, y<DIV id=lrc37 style="COLOR: #000000">若今天的我能回到昨天 </DIV># v1 Q$ l4 |/ {, U
<DIV id=lrc38 style="COLOR: #000000">我会向自己妥协 </DIV>
`' x7 b5 w* S/ {' ]<DIV id=lrc39 style="COLOR: #000000">我在等一分钟 </DIV>* I8 z) ^. K8 A% M* T
<DIV id=lrc40 style="COLOR: #000000">或许下一分钟 </DIV>/ k D1 I/ @; q/ W
<DIV id=lrc41 style="COLOR: #000000">看到你闪躲的眼 </DIV>. Y: v6 A% X( T
<DIV id=lrc42 style="COLOR: #000000">我不会让伤心的泪挂满你的脸 </DIV>
$ ]/ n" ^* l& ?: k1 _! k& M6 b! a<DIV id=lrc43 style="COLOR: #000000">我在等一分钟 </DIV>
1 S, P- ] U. A9 j2 }: l3 k4 U; B+ Y<DIV id=lrc44 style="COLOR: #000000">或许下一分钟 </DIV>5 K6 d/ k' n4 s4 N5 h1 W
<DIV id=lrc45 style="COLOR: #000000">能够感觉你也心痛 </DIV>6 p9 `5 u' d# [' J/ d
<DIV id=lrc46 style="COLOR: #000000">那一年我不会让离别成永远 </DIV>" t, Q" W/ r0 M; @
<DIV id=lrc47 style="COLOR: #000000">我在等一分钟 </DIV>( C8 i" O. A3 D
<DIV id=lrc48 style="COLOR: #000000">或许下一分钟 </DIV>+ J! `* G# a) j/ N( I8 w
<DIV id=lrc49 style="COLOR: #000000">看到你不舍的眼 </DIV>2 j y) f8 a' r6 S3 a
<DIV id=lrc50 style="COLOR: #000000">我会用一个拥抱换取你的转身 </DIV>5 [) d' c5 y; ~2 k; f8 L
<DIV id=lrc51 style="COLOR: #000000">我在等一分钟 </DIV>5 O, B2 L) r+ ?: K1 n* {$ ?0 }3 b+ n
<DIV id=lrc52 style="COLOR: #000000">或许下一分钟 </DIV>8 U0 P% [( d% t' _
<DIV id=lrc53 style="COLOR: #000000">如果你真的也心痛 </DIV>5 f9 r$ y7 |% y( S
<DIV id=lrc54 style="COLOR: #000000">我会告诉你我的胸膛依旧暖 }5 G9 ^; V0 w/ E4 J0 h
<DIV id=lrc style="DISPLAY: none"></DIV>% {# J5 c$ B& {* X) q: f
<SCRIPT type=text/javascript>9 U! m' k. K/ p
document.domain="1ting.com";0 B/ A* Q5 u0 C5 H/ s G, I" h. X& ]5 _
var colorPasted="#666666";- l$ O" N5 L6 k
var colorPlaying="#ff3300";
+ i! `9 @3 @2 K9 H6 b3 ]! `var colorNormal="#000000";( ?, k& D$ P7 J" `0 J7 f U/ h+ \
$ = function (a,g){* r$ G! W! d/ S( u& `
var o = new Array();
; v$ G3 @$ H" i7 \! { var c = new Array(); - x' X$ s0 y" B7 b2 O
var r;
4 h9 \( C9 o# T4 L var u;
6 S" n! k0 l# b var a = a.split(';');
) g% R" D4 s& @. {) C' z$ `9 O) j% b, X- k R7 G& i
var e = "keydowns,resize,load,dblclick,click,mouseout,mouseover,mousemove,mouseup,mousedown,inputchange,inputfocus,inputblur".split(",");" d( m" f1 v" u ?4 r# F" O
for(var i=0;i<e.length;i++){
) S7 ]1 {& C6 v. }8 M( u eval(e<i>+" = function (s){eval($event('on"+e<i>.replace("input","")+"'))}")
. v- H) c$ I+ C/ `8 y' P( m7 h- c }; v9 C3 g/ p/ o" H
+ ?6 }( G* q' }1 a4 G
after = function (t,d,s){3 \; f/ [( r% s$ Y3 T y$ C
$after = function (){
) C, y" O. Q ?/ H& y. O1 a var $n=document.createElement(t);
2 c& @* V3 ^( P- G, f% r if(d!=null){
6 [7 p, D. G* T) y# G* a3 D4 i $n.id=d;
% ~0 y- K' w8 U. o! s0 t7 I- V }
0 z0 e( R: Y# T. {9 ]7 l7 U 2 w/ z: i5 a8 a0 j
u.insertBefore($n,null) " A# c' r( K& a3 F7 B7 Z c+ h
r = $n; - \ T3 @ D$ o7 e. O+ A* G7 z
u = $n;
9 b. L. M& W6 V, A( s8 W& Z) Z }
( ], T8 N+ d* h% {3 q& s3 P+ l $for(s,"$after")
8 I# ]9 K/ i! @! p6 T( l5 s) h }
% `3 H( J+ G$ n; _# `
$ I9 Z! u9 B: s4 I9 p3 ~) d8 } show = function (s){" n Z* r& b% i
$show = function (){5 q6 L9 D9 a- a( ?; ~
u.style.display!="none" ? style("display:none") : style("display:block") ;0 `* m% X6 n9 K6 _+ ]
}- B. G& y; B+ G9 G' _
$for(s,"$show")
) [& N0 h$ q# y" P" z/ {9 _3 i }
% ]) O+ t. e+ G1 P
) x3 \, E( \% m check = function (t,s){
0 R" X" u" ^$ H5 z: K, N! R" r$ C $check = function (){3 F( B* w `; ?/ {4 ]
if(t=="2"){
: S: ]4 F* S+ ?7 U+ L; N% F0 [. f if(u.checked){, N) X( j/ v& R) g$ ~& m5 h, D! b3 o
u.checked = false;
3 J0 s8 ]2 G/ d1 O7 R }else{9 \# g2 x* M6 @+ Y! q
u.checked = true;
+ V. _$ L, G- F }% V* j0 m5 `, J E; v
}else{' M6 x' K! N; t5 F a' y. A
u.checked = t*1 ;
: P7 Q6 G7 c" A! [9 h+ X+ P* M }8 r& C) t) b$ T
}
5 ^% `+ H" [4 Q9 C7 D9 R- y. d: A1 P $for(s,"$check")
5 R U9 Q! p# a/ Q3 C6 U }
6 F7 I* C$ I9 E; @+ y: G0 I
/ }, {" J5 G; Q% K# V9 M& l9 J style = function (v,s){
& P4 s7 r7 `* x& m5 V. e' g: \ $style = function (){/ _: e: i4 W: {) n! s6 w( n5 x
var $n = v.split(",")
2 j j6 ]* F- G. ~% L- | for (var i=0;i<$n.length;i++ ){
/ |- f) r: w6 g5 }+ B8 } var $m = $n<i>.split(":")
# F& v% Z* ^+ a* i$ t eval("u.style."+$m[0]+"='"+$m[1]+"'");8 }) V" G0 p4 |# c- K
}, Y: n! M/ C+ S9 r4 G u
}
5 ]6 Q5 x# i1 z5 T7 D- I, e4 w$ r $for(s,"$style")
0 C6 C& `# \+ E+ Q4 C( t9 ]6 o }
( M. r# ^4 b/ V. U
+ w# q5 C/ }- f6 h value = function (v,s){
" E, r: w! L7 x' W- D var $n= $this (v);7 v: K) q* b# m6 q( q/ Z! [$ l
$value = function (){% p, n% W. o& i- n
u.value = $n
0 h9 r+ u( |! ?/ ? }2 Y' j) s3 w0 J8 c- y; m1 Q$ O
$for(s,"$value") % \# n3 e1 [/ E0 g6 R, n
}
. i( }- @3 l+ P1 _" L* j/ b; z, C/ `- o, U% ^
text = function (v,s){
6 `# u6 J: H; T' d* G5 w0 ^ var $n= $this (v);
+ m6 [, f* b: `8 J ?- t $text = function (){
+ @2 |' K6 w4 K& D4 }
0 k$ f4 `; C9 _" i+ m u.text = $n1 D3 ~5 I: E* y% Q* S3 d
}
4 f/ k1 b/ _. x2 z" n( ^5 d $for(s,"$text") 5 Q4 p) k* y0 {$ q' t5 {* A& }
}
1 `1 t- \, j5 C; g- S
/ C$ U1 D+ G1 _( z innerhtml = function (v,s){
1 I. S6 {) D6 t! N8 L" o# } V var $n= $this (v);
9 x) _# C) P) A $innerhtml = function (){
e/ {. C; {/ g1 z3 ~. a) N u.innerHTML = $n$ Q& O7 l5 {6 r$ b8 i
}
' I! c' e' f; e: D; g $for(s,"$innerhtml")% p7 T9 ~5 G% j& g3 ?
}
" f% h- L1 u- e$ k, U" ?" `" H % t$ h0 c0 Y: s9 I& @
removechild = function (s){
4 O/ r, T- \# ^; T' U $removechild = function (){
- G2 `6 e4 e. t u.parentNode.removeChild(u)
$ _, h) |' ] u. I( ^ }0 M, t+ t0 \ i
$for(s,"$removechild")" M2 f) v8 v7 f% @
}
7 ~5 A) s" O: h# m" j; ]
) q3 t- {9 E0 G9 \4 { $this =function(v){
8 a+ W3 {% b/ ]- P+ x: V( i& ~ if(v.indexOf("this") == 0){
2 g. \8 z4 N9 T return eval(v.replace("this","u"))
7 \9 b: [4 v6 f: W }0 y- B$ X6 R z
return v;
) h- m0 S8 z; _2 o* e }
6 i$ e) G! y" ?/ S: X8 x
$ o) M1 Z0 y" V5 J $event = function (s){
) k9 c& A" E. T# M( X: }- w* N var $n ="u."+s+" = function(){$work(this,s);}"
3 I/ f" @* s X# _ ?) } return $n;
" u$ i7 h/ K/ l! c. P d" j } T/ o/ Y P5 k: o0 u8 {
& v2 o' [8 n# T! P" U( p $replace = function (s){# r/ `7 D6 L) D& M$ c7 z
" J- c$ e' l1 k! t( K# F }
* z4 Z2 G8 d" S/ @ i- w' s+ n1 @% y7 H2 @4 V
$for = function (s,c){6 ~% ~" |, G) p3 Q; b: M
var $n="this."+c+"()" ;0 E4 m5 ~4 c- _9 J4 s. S/ e8 Z
if(s!=null){* F" t$ w. c- n9 O! o
var $m =$test(s);" y6 Y: b" m6 p! G7 r5 S
for (var i=0;i<$m.length ;i++ ){
2 S4 I4 [. }4 ` L u = $m<i>;
) }+ f4 r% w" h/ s5 {# V# I$ T eval($n);
3 w5 {& i- Q, ^: ` }
$ _: U4 W) B% T* u% g9 i }, y: s0 d4 G' W3 Z' V
else{. S1 Y# x+ i* a/ f* y" x" l/ W
eval($n);
8 H, x1 e! O: V( I* W8 Q }; W9 w6 L- R8 v
}
) T! l I4 @" s6 P- l$ J 8 z' N: v# D3 l: I, N
$test = function (a){
# e. P1 R$ T t3 ^6 r5 c6 [0 n0 E var o = new Array();$o(a.split(';'),o);
7 v+ r0 C+ y; f$ U return o;& E4 ^' D2 Z3 x& k3 U7 ^# r
}
5 d$ o) D' m/ X. w6 \! m' Z: T
3 [. U$ X' h7 @9 Y* a0 v $format = function(s){! I ^1 |: |/ E! X4 G2 m1 a
while (s.indexOf("'")>0){4 d. q; x4 p' q7 Z# m+ @' q1 H
s=s.replace("'","\"");& X% n. F, M6 ]$ T! j1 K" k
}. G! R8 p1 c2 N" Q5 j; D4 h
while (s.indexOf("][")>0){
4 G+ U( W0 T& B8 f) k s=s.replace("][","','")
0 R+ G: |* ], U. l4 U }
3 K% B G% `; _ while (s.indexOf("[")>0){# v& p+ F1 o$ b+ _# u
s=s.replace("[","'").replace("]","'")' M' f K1 E0 O6 M/ P; J# x) j
}
4 [3 W g! d: w% a( I: V( s return s;
6 U+ v: M7 m- w2 D* o# ~; R" t }3 @ N- Y. b3 _9 K ^# k6 ]2 v) k
0 L( P8 Y( m* P) \- @" \- c
$work = function(w,s){
" t z9 p& E6 I6 J; _ u=w;eval(s)) y0 ^& h! G; [# }" c' a
}: z* @0 j- [+ L9 w2 D
& ]" c( I+ A Q' |* C3 S $id = function (s){5 K. r7 Y. q1 {* H7 H
return document.getElementById(s);' c' B h3 I& T" G4 c
}: ?/ q7 H7 t4 w- g8 z, l/ }! Y
2 r% V9 g% y8 @* D& k $name = function (s){8 D* S+ l2 L7 D6 C
return document.getElementsByName(s);9 B8 ]" C, }4 M2 @) c# T9 X% r
}
# n% z \; ^$ y+ k% f% |* ? i- U/ S" e
$tagname = function (s){
& K B$ \, j5 A0 [$ _ return document.getElementsByTagName(s);
1 [& f1 K& u1 O% |7 y1 W, O T7 x) j }% d! y4 S& U+ a" \
& g6 [' L( Q7 B. A
$o = function (a,o,c){
$ l) @) F K1 Z# `+ `% d $push = function (n) {
" @0 U! N% G: [& ] for (var i=0;i< n.length;i++ ){
5 C1 U- P; W+ h% ?: H o.push(n<i>);
) S: V2 S2 T, m# S; V# C }
* \5 I+ S2 n9 U9 M }
3 B4 m. ^0 o& i5 r; U+ ~ for(var i=0;i<a.length;i++){3 h X) E# o: ~0 `' s& D$ A1 D
if(a<i>.indexOf("(") >= 0){2 H7 I9 D5 ]# j9 g8 m3 B
c.push(a<i>);1 Z1 Z( C/ a! E! t
}! v6 b+ Y H8 \7 B- F) r; q& S
if(a<i>.indexOf("~") > 0){% M; |4 H% a3 u. i+ F3 a% P' P* g
try { q; G, p" ?- x( Y7 D
$push(eval(a<i>.replace("#","document.getElementById('").replace(" ~ @","').getElementsByTagName('")+"')"));
! s4 T( E, Z. |( g# P }catch(e) r- l- l/ v4 z0 ?& L4 e0 b5 }; [
{} $ ]6 }6 D! b/ X! s
}
9 k7 t8 K$ v4 {# [0 K8 Q else{
4 V* j. D a' s! U+ [. a% P if(a<i>.indexOf("#")==0){
. T6 B" m! _3 L& ~ o.push($id(a<i>.replace("#","")));
[, |0 w% T+ L8 H }
' p% P6 j% p8 u( b7 r1 F7 Y if(a<i>.indexOf(".")==0){
8 R5 e4 a0 A8 U( x8 h& F $push($name(a<i>.replace(".","")));% L) E" ]8 ?7 d) y
}
7 L% j, Z u6 R, h if(a<i>.indexOf("@")==0 ){
6 A$ I t: F; M. Z) ` t/ r D2 u $push($tagname(a<i>.replace("@","")));
% v9 _1 e# d% j( \' ^ }
; ~2 a1 d3 y# H" n, f, g2 k if(a<i>.indexOf("*")==0){8 ^5 C2 b/ b0 f
$p= a<i>;
* G5 d" e4 m% _% {( s. I$ N3 f- n if($p.indexOf(".")< 0){) p. W0 }3 ~4 h& S6 U6 D
$p = $p.replace("parent","parentNode")% Q% R1 X* d: w/ O b
}
0 F0 b1 ~8 W0 y S8 P7 T0 @ var $p ="u."+$p.replace("*","");
3 A4 q' o' J+ X6 c while ($p.indexOf("parent.")> 0){
' Q4 B' x( U( L $p = $p.replace("parent.","parentNode.")* J E9 i, t2 u0 U( T
}0 _5 i) F) I% v! D4 Y0 i7 h1 H
while ($p.indexOf("child{")> 0){2 C# S0 R* n% P7 l1 q. a
$p = $p.replace("child{","childNodes[").replace("}","]")
' S( U# E3 \( f5 u- Z$ x# ^ }+ E! i: M: o8 R7 d/ R
o.push(eval($p));
: N; L; ~9 Q. T7 \8 `+ z8 ] }/ T# q7 g& a0 j U( }
if(a<i>.indexOf("document")==0 || a<i>.indexOf("window")==0){. Y9 I6 m% `- S; h6 Z s& \1 V( `: r/ n
o.push(eval(a<i>));( C# O9 ?/ S, y, p3 O6 I
}
. N# Z( e3 e& ^; ?, P- V% X u9 v }) i' q+ n9 ]) K$ J4 G/ s" n6 S+ u
if(g!=null){
. o+ ]3 `' Q( ~, ?# W5 G V2 h" d o.push(g);g=null
2 o7 ~8 b) K, W: K }
& a$ a2 [1 h; P5 @$ B$ G1 Z+ q; r; S+ V } W) h: d4 o# I( R
}" n) k! Q0 M+ w8 U1 w8 J1 t5 f
0 ^, m1 V$ `& Q- A l- {# b
$o(a,o,c);+ G( u. _' A$ t0 ?
2 e6 r# v6 `$ D: F: f6 v; J( y2 ^ for(var i = 0;i<o.length;i++){8 T( I; }! ]# n2 G: D
for(var j=0;j<c.length;j++){2 A( K2 ] q3 U! \. ?
u = o<i>;eval($format(c[j]));
, K: F( e, y, v/ n% `. X8 G3 F }
. |! m! Y: x* Q }: ^$ I/ t7 B6 j {+ F
( y$ O9 B: H- x5 P if(o.length == 0){
8 G2 D! e% @9 R6 ^ for(var i=0;i<c.length;i++){8 A, |, B2 l0 J; P, x
eval($format(c<i>));8 R4 B) ]& p, e- r# H5 J" {
}5 |1 K9 B) Y& s6 r$ d7 `
}
( ` W5 V- k5 W# \; r( ^% Y- ^1 \) ^
6 m# H r) F3 @. v# D O' f if(r!=null){0 U6 e& m1 z2 i, C
return r;
; R4 e/ n/ B0 B+ F% |! G* L }
2 o' W5 ~8 I2 h+ Z# S ) ^- K1 H% N! a+ N. z
if(o.length==1){6 q& v. U4 y5 V4 L
return o[0];1 L4 E" @9 i$ a" D5 O% l& s
}. a8 R0 q. _& f
else{$ T7 S. x- c( i3 x' p: E3 W, t) {
return o
! J5 v! o4 O+ C- {* | } : H# z7 D( g! @
+ G [+ n- I" g6 @% Y
}3 X4 H% t; r# S. k3 Y! s
var lrc =$("#lrc;show()").innerHTML.split("[");
& L2 L7 x6 h2 S, u7 R- j/ f8 wif(lrc.length>5){) a$ T3 `$ F, W4 `
var array = new Array();! O4 j, w! I; w) ^5 `
for (var i=0;i<lrc.length ;i++ )
1 G0 P" Q: U% J2 I{
& E r% M% V6 a- q8 h var g = new Object();
! |" f; f$ c t/ _" Z t= lrc<i>.split("]");0 {+ w3 d! Q" z1 J6 | ~5 R
g.time = getTime(t[0]);9 } h9 I2 B5 t* V4 p+ r
if(isNaN(g.time))/ m% P) _ `2 f2 @; i; b$ ?+ j. A! g
continue;: ~# z/ G1 I9 ^/ o: K# ?: X! [
g.c = t[1];
. X7 ]. u9 r6 ?! f! l if(g.c == "")7 H4 Z* T: R( a* X0 l1 z% L! \5 N
g.c = getNext(i);$ }5 Y6 ^/ t7 p4 Q
array.push(g);
" `) m9 \& ~8 m$ n$ e}" X, r2 D0 f, f2 ~% j& r' `
array.sort(function(x, y) {
" }5 P7 r9 n" @! p: Z. }& N if (x.time>y.time)
6 c/ z: `( [1 i1 I* A return 1;
3 l0 @( l7 ]& M else if(x.time<y.time)
' \' ~/ F! C; K$ b return -1;
8 b" p7 A* C/ H# z. B else# c; l3 g ~' R' E
return 0;1 q# D9 n; R* Y7 s6 Q4 t4 D& T
} $ {0 E' H. `3 Y5 V/ c
);- b6 t6 i5 w0 f) C& E3 y4 V
for(var i = 0;i<array.length;i++)
! B- \0 h8 C" g3 L{8 Y! M" t2 V; `9 d4 t
var g = array<i>;
( ]- } r4 E6 _$ h3 ?* e if(!g.c){
; L. o. j0 h4 [. ~: m$ t( M: } g.c="";
# {$ t7 q. z5 t. v; m4 @! Y }. k) q2 s# Q4 T' `
$("#list").innerHTML+="<div id=lrc"+i+">"+g.c+"</div>";
$ Y( u( x$ H; ~1 }2 M7 v}2 c; M8 Y$ i2 y
var time = setInterval("lrcList()",500);
8 R8 L( m0 S% N}else{
, @$ Q- _% e& }, T $("#list").innerHTML=$("#lrc").innerHTML;
) |, W+ u b+ `; |}! j* F3 c3 \( L F3 a. s+ X- X0 i; f' F I
function getNext(i)
6 u" l e% Q) j: i+ `{
! E8 x8 W1 I* i4 P0 M% z" I var result = "";7 f+ `9 `/ }% U% \: L4 Q: }) B/ e
var i = i+1;
# j+ f A' e9 \ t = lrc<i>.split("]");* w1 i$ T6 |5 ~
if(t[1]=="")
1 b1 ^1 F1 X4 R) k9 E. @+ ^ result = getNext(i);! d8 n" M. y$ V7 j; r2 [
else
$ L) t; H% V1 T result = t[1]1 u1 T4 g- F9 l% U$ _) `) Z
return result;
: I8 d) e1 ?# |# g" p& V4 H}
' I, H, b5 X2 q) i5 k* h; Y9 H$ t7 o9 z' e$ c5 V# P& `
function getTime(str); _+ l8 e y5 d, ~4 [
{
# h& ]% c& O# n- j$ `+ p var time =0;2 `' H5 |# \2 K! `# V, }
var ta = str.split(":");/ |% s5 _* L* \- M x$ V& O
if(ta.length<2)
* Y* F+ X& I$ H; u return time;( I8 [5 m% u8 F! G# |8 s. c( V
8 m( w# U3 ~5 \% N if(ta[1].indexOf(".")>0){( ?8 ?3 ~! F' [9 [6 }4 T3 T a0 f
var tb = ta[1].split("."); J3 p- m& N* F G- B: A
time = ta[0]*60*1000+tb[0]*1000+tb[1]*10;1 h. | }3 Q/ n# |. N
}
% b: \6 ]' @* s else
8 }5 |# {* Y) B' X time =ta[0]*60*1000+ta[1]*1000;
' J6 \* i& J" @ s, T/ k return time;1 q8 v# L) \4 I& K/ ]0 \ N
}
3 O2 U6 X8 F: A7 j7 a5 d2 ]/ Ovar preTime = 0;" T7 N# o6 D" M; | ^
var nextTime = 0; `# f" Q! _+ ~+ X' b0 u: r
var currIndex =0;( S9 D" O, z+ c P1 q0 n
function lrcList(){! T& P1 {+ v6 [ Q
var s = parent.document.getElementById("MediaPlayer").controls.currentPosition;
6 J4 i6 ]1 J4 K: y, J s = s*1000;" C$ R/ N6 y4 k' l a# i( b
if(s==0){1 L" b, [7 j# k l/ o
currIndex =0;
9 e5 u+ ^, \, D $("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;3 {6 ]# S4 T0 x' l6 L
for(var i=0;i<array.length;i++){
& N3 I8 ^2 S/ _5 `: k document.getElementById("lrc"+i).style.color=colorNormal;3 c; j# K9 t4 h
} F& x2 a6 `: @$ o6 t% ]
return;
* u5 R4 Q7 r) g7 I }. U; ]- N4 a' R& O
if(s>0&&currIndex<array.length-1)
( k. H) e& Y- f: y7 m {
2 Z r' U" B5 Z! e preTime = array[currIndex].time;1 s- V1 p( u$ `' I6 i
) ?: i* l6 J. r/ T" } nextTime = array[currIndex+1].time;5 m2 x7 q% W; \+ I
6 G5 `, V2 `0 Q: ~# e if(s>=preTime&&s<nextTime){' r% g) {" o c: ^
}
; |' \' a4 L8 y* u+ e+ a+ l# u- @5 q else if(s>=nextTime)9 Y0 I0 _# k+ [1 f0 g
{
) u/ G' n7 C, s/ |; j3 ^ document.getElementById("lrc"+currIndex).style.color=colorPasted;4 e4 ^4 K: Y& @
currIndex++;- \6 G& z6 z: G# C3 m" r
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;- i! V3 z# n# q" u( i' i$ ^
document.getElementById("lrc"+currIndex).style.color=colorPlaying;/ Q: ?1 }7 P: ~
lrcList();3 k5 w8 t' ?0 B3 f+ J p B' c# ?
}
2 N3 d% U! e# ?' | else{6 b6 w, z# u+ O0 N. g" e
document.getElementById("lrc"+currIndex).style.color=colorNormal;: \5 [5 e5 d; Z! h' C
currIndex--;5 X3 m$ l! s1 g% D7 o! ^
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
4 O) Z/ H' _5 R, I. D+ t document.getElementById("lrc"+currIndex).style.color=colorPlaying;
! J- l- k9 t4 }7 {! ~5 P lrcList();+ s# u7 w. D4 l4 A% X$ y1 p
}
L) J3 T A; R' N }
6 w; h) A! A6 H" R( I else
- V- |5 n: [, ^, I2 j( ~5 d i" N {
( {/ z* f! x2 H, M% q if(s<array[array.length-1].time){
/ [! f3 L4 L3 a) f8 L6 e2 v8 ? currIndex = 0;0 v. q. |# @! F0 r( Q1 w
$("#list").scrollTop = $("#lrc"+currIndex).offsetTop-30;
9 R- G( O' V7 h( | for(var i=0;i<array.length;i++){9 r' |4 y' q8 {6 G) l
document.getElementById("lrc"+i).style.color=colorNormal;
8 [" E, z" [- S; M: @) H/ Q }: I$ Y# l( P3 ]
lrcList();( B* ]5 P' R* a; e8 @8 u
}
4 j8 Q0 g' X! N1 j }( c& R G# w; ]7 B/ f8 {
}
$ T, I3 z u# p1 J" ~2 m* r</SCRIPT>
& U2 W4 v# q) V6 }/ m</DIV></DIV>
( f* \4 F& d( X2 }6 g: w% P- y |8 X7 U- g: c. x$ @6 ?4 R7 G
[ 本帖最后由 幽谷兰 于 2008-9-18 17:36 编辑 ] |
|